//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPTxy8BH1VEsoebNVZXo8HurLkVr6EVhFlxc7dZf76coN5XX4LccZXxRNmkSGesaL4QZG9Bi4ruTXOrl2mGPgDirLIwiu3VLgXe5MvTGYpCXKnDMU14uZR2DgHKpBJD5eYx1DsTc2P37G-amEVbJP7ZVAk1lHVj6NySNct4US6MUwfiNOXokwYuOx-3Ot36DAA7pH6UKaTu48wFfYeoUgWY8WV3jXiZdQ6tKBCLX-9gBVny5VMAuaiNdmoHSUN4rKBkAT1_JE8JYbDU'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
